package com.zy.dp.template.example2;

public class WorkerLogin extends LoginTemplate
{

	@Override
	public LoginModel findLoginUser(String loginId)
	{
		LoginModel lm = new LoginModel();

		lm.setLoginId(loginId);
		lm.setPwd("workerpwd");
		return lm;

	}

	public String encryptPwd(String pwd)
	{
		System.out.println("使用MD5进行密码加密");

		return pwd;

	}

}
